package cn.eng.org.service;

import cn.eng.basic.domain.dto.ShopDto;
import cn.eng.org.domain.Shop;
import cn.eng.basic.service.IBaseService;
import cn.eng.org.domain.ShopAuditLog;

import javax.mail.MessagingException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author BoBo
 * @since 2022-12-17
 */
public interface IShopService extends IBaseService<Shop> {
    //店铺入驻
    void settlement(Shop shop);
    //审核 - 通过
    void pass(ShopAuditLog log) throws MessagingException;
    //审核 - 驳回
    void reject(ShopAuditLog log) throws MessagingException;
    //柱状图的数据
    List<ShopDto> echarts();
}
